package com.itheima.service;

import com.itheima.controller.PageResult;
import com.itheima.pojo.Student;

import java.util.List;

public interface StudentService {
    PageResult page(Integer page, Integer pageSize, String name, Integer degree, Integer clazzId);

    void deleteByIds(List<Integer> idList);

    void save(Student student);

    Student getById(Integer id);

    void update(Student student);

    void addViolation(Integer id, Integer score);
}
